/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Stones;

import ElementsProperties.ActorCollisionSensible;
import ElementsProperties.Bouncable;
import Model.CollisionEvent;

/**
 *
 * @author Snowangelic
 */
public class AbstractSolidStone extends Stone implements ActorCollisionSensible {

    public void actorCollision(CollisionEvent e) {
        if(e.getActor() instanceof Bouncable){
            ((Bouncable)e.getActor()).bounce(e);
        }
    }

}
